<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .a {
            width: 200px;
            height: 200px;
            background-color: #f00;
            text-align: center;

            line-height: 200px;
        }

        .a img {
            vertical-align: middle;
            /* width: 100px; */
            max-width: 90%;
            max-height: 90%;

            min-width: 100px;
            min-height: 100px;
        }
    </style>
</head>

<body>

    <div class="a">
        <!-- <img src="https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png" alt=""> -->
        <img src="../../../day06/课堂代码/images/gotoway_03.jpg" alt="">
    </div>

</body>

</html>